package com.slmxz.tms.biz.enums;

import com.slmxz.tms.common.base.IBaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

/**
 * 订单类型枚举
 * @author sunyao
 * @Date 2024/10/29
 */
@Getter
@Schema(enumAsRef = true)
public enum OrderSpecialTypeEnum implements IBaseEnum<Integer> {
    ORGINAL(1,"原单"), //没有发生拆并的提单,以及拆并后的提单
    NORMAL(2, "拆单"), //发生拆单的提单,拆前提单
    CHECK (3, "并单"), //发生并单的提单,并前提单
    ;

    private final Integer value;

    private final String label;

    OrderSpecialTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
